#ifndef MountDisplay_H
#define MountDisplay_H
#include <QObject>
#include <QLCDNumber>

namespace Ui {
  class MountDisplay;
}

class LCDsexa: public QLCDNumber {
  Q_OBJECT
public slots:
  void setMode(QLCDNumber::Mode m);
  void setSexaMode(int width, int fbase);
  void display(double num);
public:
  LCDsexa(QWidget* parent = 0);
  LCDsexa(uint numDigits, QWidget * parent = 0  );
private:
  bool isSexa;
  int w;
  int fracbase;
};

class MountDisplay: public QObject {
  Q_OBJECT
public slots:
  void changeEquatorialCoords(double ra, double dec);
  void changeHorizontalCoords(double alt, double az);
  void changeLST(double lst);

public:
  MountDisplay();
  void setRA(double);
  void setDEC(double);
  void setAlt(double);
  void setAz(double);
  void setLST(double);
  void setupUi(QWidget *parent);

protected:
  Ui::MountDisplay *ui;
};

#endif // MountDisplay_H